package com.sdx.console.choice.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.*;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/*
* 数据更新时间表
* gen by Spring Boot2 Admin 2020-11-09
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
@Table(name = "sdxdb.choice_data_info")
public class ChoiceDataInfo extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID
    private Integer id ;

    //省份ID
    private Integer provinceId ;

    //类型 1、普通志愿  2、艺术生志愿
    private Integer type ;

    //标题
    private String title ;

    //数据更新时间
    private String dataTime ;

    //来源
    private String source ;

    //创建人
    private Integer createdBy ;

    //创建人名称
    private String createdName ;

    //创建时间
    private Date createdTime ;

    //更新人
    private Integer updatedBy ;

    //更新人名称
    private String updatedName ;

    //更新时间
    private Date updatedTime ;

    private Integer sort;


}
